<template>
  <div class="collect">
    <File></File>
  </div>
</template>

<script setup lang="ts">
// import { ref } from "vue";
// import { getCollect } from "../api/collect"
// import { FileItf } from "@/interface";
import File from "@/components/file.vue";
import { usePathStore } from "../store/index"
const pathStore = usePathStore()


pathStore.getCollects()

// const videos = ref<FileItf[]>([])
//   getCollect(-1).then(res => {
//     console.log(res.data[0].id);
//     // videos.value = res.data as FileItf[]
// })



</script>
<style lang="scss">
.collect{}
</style>